Transforming entities into relation

join shbcf.ru